package com.ogawa.project6602.dialog

import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.SeekBar
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.blankj.utilcode.util.LogUtils
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
import com.ogawa.musicmodule.*
import com.ogawa.musicmodule.bean.JustMusicVolumeEvent
import com.ogawa.musicmodule.bean.PlayMixMusicBean
import com.ogawa.project6602.R
import com.ogawa.project6602.adapter.AdjustMusicVolumeAdapter
import com.ogawa.project6602.wdiget.JustVolumeWidget
import com.ogawa.projectcommon.appdatabase.AppDatabase
import org.greenrobot.eventbus.EventBus


/**
 * 酸痛检测结束
 */
class HealthIndexEndBottomDialog() : BottomSheetDialogFragment() {
    companion object{
        fun getInstance(): HealthIndexEndBottomDialog? {
            return HealthIndexEndBottomDialog()
        }
    }
    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
        super.onCreateView(inflater, container, savedInstanceState)
        var rootView = LayoutInflater.from(context).inflate(R.layout.dialog_suantong_end, null)
        return rootView
    }
    override fun onStart() {
        super.onStart()
        (dialog?.getWindow())?.findViewById<View>(R.id.design_bottom_sheet)?.setBackgroundDrawable(
            ColorDrawable(
                Color.TRANSPARENT
            )
        );
    }

}